<?xml version ="1.0" encoding= "utf-8" ?>
<com.google.android.material.card.MaterialCardView xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginLeft="@dimen/card_margin_top"
    android:layout_marginRight="@dimen/card_margin_top"
    android:layout_marginTop="@dimen/card_margin_top"
    android:foreground="?attr/selectableItemBackground"
    app:cardBackgroundColor="#E1FDFB">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:gravity="center_vertical"
        android:orientation="horizontal">

        <ImageView
            android:id="@+id/course_picture"
            android:layout_width="@dimen/picture_size"
            android:layout_height="@dimen/picture_size"
            android:layout_margin="@dimen/image_margin" />

        <TextView
            android:id="@+id/course_name"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginStart="@dimen/margin_rp_name"
            android:textSize="@dimen/text_size" />

    </LinearLayout>
</com.google.android.material.card.MaterialCardView>